#pragma once

#include "Definitions.h"
#include "Structures.h"
#include "LostVector.h"
#include "Button.h"


class Menu
{
private:
	DrawStruct	objectToDraw;				//Object that will be sent to the model to be drawn
	SoundStruct	soundToLoad;				//Sound or music that will be sent to model to than play
	Button		button[NUM_MENU_BUTTONS];	//Buttons for the menu object
	bool		justOpened;					//Checks to see if the menu was just opened

public:
	Menu();
	~Menu(){}

	void Open();

	bool Update(XY mousePosition, bool clicked);

	void Render(LostVector<DrawStruct>* draw, LostVector<SoundStruct>* sound);

	void Close();

	void SetMusic()
	{
		soundToLoad.Music = MENU_MUSIC;
	}
};